#!/usr/bin/env python3.10.6
# -*- coding: utf-8 -*-
# Author: Bobby Sheng <Bobby@sky-cloud.net>
from jira_business.jira_status_update import search_issues_status
from feushu_api.feishu_send_message import FeishuSendMassage


def cli(record_key):
    issues_info_data = search_issues_status(record_key)
    res = FeishuSendMassage(issues_info_data).sent_post(record_key)
    return res
